package com.meteor.service;

import com.meteor.entity.Publicity;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.PublicityQuery;
import com.meteor.vo.PublicityVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */
public interface PublicityService extends BaseService<Publicity> {


    void save(PublicityVO publicityVO);

    void update(PublicityVO publicityVO);

    PublicityVO getPublicity(String id);

    List<PublicityVO> getPublicityVOList(PublicityQuery publicityQuery);

    PageResult<PublicityVO> pagePublicityVO(PublicityQuery publicityQuery);

    void delete(String id);

    PageResult<PublicityVO> miniPage(PublicityQuery query);

}
